package com.butang.service;

import com.butang.pojo.Dept;
import com.butang.pojo.Emp;
import org.apache.ibatis.annotations.Delete;

import java.time.LocalDateTime;
import java.util.List;

/**
 * ClassName: EmpService
 * Package: com.butang.service
 * Description:
 *
 * @Author BuTang
 * @Create 2023/7/9 23:02
 * @Version 1.0
 */
public interface EmpService {

    List<Emp> list(Integer page , Integer pageSize, String name, Short gender, LocalDateTime begin, LocalDateTime end);

    Emp login(Emp emp);
    int count();

    void empDelete(List<Integer> ids);

    void add(Emp emp);

    Emp getEmp(Integer id);

    void update(Emp emp);


    void delete(Integer id);
}
